Class sbktech.tools.hashjava.bytecode.Method
All Packages Class Hierarchy This Package Previous Next Index
Class sbktech.tools.hashjava.bytecode.Method
java.lang.Object
|
+----sbktech.tools.hashjava.bytecode.Method
- public class Method
- extends Object
- implements VMConstants, Modifiable
A Method is a reference to a method defined in a class. You just
get to examine and alter its name through the Modifiable interface
- Author:
- $Author: kbs $
-
equals(Object)
-
-
newName()
-
-
originalName()
-
-
permissions()
-
-
rename(String)
- set the new name for this method
-
toString()
-
permissions
public int permissions()
- Returns:
- the access permissions for this method
- See Also:
- VMConstants
originalName
public String originalName()
- Returns:
- the method's original name
newName
public String newName()
- Returns:
- the method's new (possibly modified) name
rename
public void rename(String name)
- set the new name for this method
- Parameters:
- name - new name for method
equals
public boolean equals(Object x)
- Returns:
- true if the Method being compared has the same
name and signature
- Overrides:
- equals in class Object
toString
public String toString()
- Overrides:
- toString in class Object
All Packages Class Hierarchy This Package Previous Next Index